import texture.TexturePacket;

import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.Animation;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.scenes.scene2d.Actor;

public class RockMan extends Actor {
	Vector2 position = new Vector2();
	Vector2 accleration = new Vector2();
	Vector2 velocity = new Vector2();
	Rectangle bound = new Rectangle();
	final int WIDTH = 10;
	final int HEIGHT = 10;
	Animation atk;

	public enum state {
		IDLE, RUN, ATK, DIE
	}

	public RockMan(Vector2 pos) {
		position = pos;
		bound.width = WIDTH;
		bound.height = HEIGHT;
//		atk = new Animation(0.2f, TexturePacket.getInstance().getRegions("f1"));
	}

	@Override
	public void draw(SpriteBatch batch, float parentAlpha) {
		ShapeRenderer shapeRenderer = new ShapeRenderer();
		shapeRenderer.begin(ShapeType.Rectangle);
		shapeRenderer.setColor(Color.CYAN);
		shapeRenderer.rect(50, 50, 100, 100);
		shapeRenderer.end();
	}
}
